//
//  ZJStudyCourseSynopsisTableViewCellModel.m
//  LovingPartyBuilding
//
//  Created by ZJ on 2017/6/1.
//  Copyright © 2017年 刘应平. All rights reserved.
//

#import "ZJStudyCourseSynopsisTableViewCellModel.h"

@implementation ZJStudyCourseSynopsisTableViewCellModel


- (CGFloat)cellHeight{
    if (!self.model) {
        return 30 * [UIScreen zj_screenHScale];
    }
    CGFloat cellHeight = 44 * [UIScreen zj_screenHScale] * 2;
    self.model.isSynopsisIntroduce = YES;
    cellHeight += self.model.cellHeight;
    self.model.isSynopsisIntroduce = NO;
    cellHeight += self.model.cellHeight;
    
    return cellHeight + 74 * [UIScreen zj_screenHScale];
}
- (NSString *)description{
    return [self yy_modelDescription];
}

@end
